<template>

  
     <a-button type="primary" @click="test">登录</a-button>

     <Header></Header>
</template>

<script setup lang="ts">

// 以下均为测试可删除=======================================
import { ref } from 'vue';
import {useLoginZhuCeStore} from '../stores/loginStore'
const useLoginZhuCeStore1 = useLoginZhuCeStore()

const userdata = ref({
    username:'admin',
    password:'MM&&98ui'
})

const test = () => {
    useLoginZhuCeStore1.test(userdata.value)
}
// ======================================


</script>

<style lang="less" scoped>


</style>
